package com.aspose.cells;

public class ImageSaveOptions extends SaveOptions {
   private ImageOrPrintOptions a;

   public ImageSaveOptions() {
      this.c = 21;
      this.a = new ImageOrPrintOptions();
      this.a.setImageFormat(ImageFormat.getTiff());
   }

   public ImageSaveOptions(int saveFormat) {
      this.c = saveFormat;
      this.a = new ImageOrPrintOptions();
      this.a.setImageFormat(ImageFormat.getTiff());
   }

   public ImageOrPrintOptions getImageOrPrintOptions() {
      return this.a;
   }

   void a(ImageSaveOptions var1) {
      super.b(var1);
      this.a = var1.a;
   }

   static ImageSaveOptions a(SaveOptions var0) {
      ImageSaveOptions var1;
      if (var0 instanceof ImageSaveOptions) {
         var1 = (ImageSaveOptions)var0;
         return var1;
      } else {
         var1 = new ImageSaveOptions(var0.getSaveFormat());
         return var1;
      }
   }
}
